import request from '@/config/axios'

export const getAllAlgorithm = async (data) => {
  return await request.get({ url: '/project/algorithm/page', data })
}

export const getAlgorithmById = async (id) => {
  return await request.get({ url: '/project/algorithm/get?id=' + id })
}
